package cn.wh.scripting.xmltags;

/**
 * @Author wh
 * @Description 静态文本sql节点
 * @Date 2023/2/14 15:32
 * @Version 1.0
 **/
public class StaticTextSqlNode implements SqlNode {

    private String text;

    public StaticTextSqlNode(String text){
        this.text=text;
    }

    @Override
    public boolean apply(DynamicContext context) {
        context.appendSql(text);
        return true;
    }
}
